
public class Test {
    public static void main(String[] args) {
        HashBuck hashBuck = new HashBuck();
        hashBuck.put(1,1);
        hashBuck.put(3,3);
        hashBuck.put(13,13);
        hashBuck.put(5,5);
        hashBuck.put(6,6);
        hashBuck.put(16,16);
        int n= hashBuck.get(13);
        System.out.println(n);
        Person person1 = new Person("123");
        Person person2 = new Person("123");
        HashBuck2<Person,String> hashBuck2 = new HashBuck2<>();
        hashBuck2.put(person1,"zhangsan");
        System.out.println(hashBuck2.get(person2));
    }
}
